package com.ruoyi.lvlian.service;

import java.util.List;

import com.ruoyi.lvlian.domain.Weighbridge;

/**
 * 磅秤Service接口
 *
 * @author lvlian
 * @date 2025-04-22
 */
public interface IWeighbridgeService {
    /**
     * 查询磅秤
     *
     * @param id 磅秤主键
     * @return 磅秤
     */
    public Weighbridge selectWeighbridgeById(String id);

    /**
     * 查询磅秤列表
     *
     * @param weighbridge 磅秤
     * @return 磅秤集合
     */
    public List<Weighbridge> selectWeighbridgeList(Weighbridge weighbridge);

    /**
     * 新增磅秤
     *
     * @param weighbridge 磅秤
     * @return 结果
     */
    public int insertWeighbridge(Weighbridge weighbridge);

    /**
     * 修改磅秤
     *
     * @param weighbridge 磅秤
     * @return 结果
     */
    public int updateWeighbridge(Weighbridge weighbridge);

    /**
     * 批量删除磅秤
     *
     * @param ids 需要删除的磅秤主键集合
     * @return 结果
     */
    public int deleteWeighbridgeByIds(String[] ids);

    /**
     * 删除磅秤信息
     *
     * @param id 磅秤主键
     * @return 结果
     */
    public int deleteWeighbridgeById(String id);
}
